.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.login-header {
  text-align: center;
  margin-bottom: 60px;
  
  .login-title {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    display: block;
  }
  
  .login-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    display: block;
  }
}

.login-form {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  
  .form-item {
    margin-bottom: 24px;
    
    .form-label {
      display: block;
      font-size: 14px;
      font-weight: 500;
      color: #333333;
      margin-bottom: 8px;
    }
    
    .form-input {
      width: 100%;
      height: 48px;
      padding: 0 16px;
      border: 2px solid #e1e5e9;
      border-radius: 8px;
      font-size: 16px;
      color: #333333;
      background-color: #ffffff;
      transition: all 0.3s ease;
      box-sizing: border-box;
      
      &:focus {
        border-color: #667eea;
        outline: none;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
      }
      
      &::placeholder {
        color: #999999;
      }
    }
  }
  
  .login-button {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-top: 16px;
    transition: all 0.3s ease;
    
    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    }
    
    &:active {
      transform: translateY(0);
    }
    
    &.button-loading {
      opacity: 0.8;
    }
  }
}

.login-footer {
  margin-top: 40px;
  text-align: center;
  
  .footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
  }
}

/* H5 特定样式 */
@media screen and (max-width: 768px) {
  .login-container {
    padding: 20px 16px;
  }
  
  .login-header {
    margin-bottom: 40px;
    
    .login-title {
      font-size: 28px;
    }
    
    .login-subtitle {
      font-size: 14px;
    }
  }
  
  .login-form {
    padding: 30px 20px;
    
    .form-item {
      margin-bottom: 20px;
    }
  }
}

/* 响应式设计 */
@media screen and (max-width: 480px) {
  .login-container {
    padding: 16px 12px;
  }
  
  .login-header {
    .login-title {
      font-size: 24px;
    }
  }
  
  .login-form {
    padding: 24px 16px;
    
    .form-item {
      .form-input {
        height: 44px;
        font-size: 14px;
      }
    }
    
    .login-button {
      height: 44px;
      font-size: 14px;
    }
  }
}